<include file="public/head" />
</head>
<body>
<div class="am-modal am-modal-alert" tabindex="-1" id="fq_alert">
  <div class="am-modal-dialog">
    <div class="am-modal-hd" id="fq_alert_title"></div>
    <div class="am-modal-bd" id="fq_alert_info">
    </div>
    <div class="am-modal-footer">
      <span class="am-modal-btn">确定</span>
    </div>
  </div>
</div>

<div class="am-modal am-modal-confirm" tabindex="-1" id="fq_confirm">
  <div class="am-modal-dialog">
    <div class="am-modal-hd" id="fq_confirm_title"></div>
    <div class="am-modal-bd" id="fq_confirm_info"></div>
    <div class="am-modal-footer">
      <span class="am-modal-btn" data-am-modal-confirm="">确定</span>
    </div>
  </div>
</div>

<link rel="stylesheet" href="__STATIC__/itaoke/mobile/css/sign.css">
    <div class="am-whole">
        <header class="am-padding-vertical am-padding-horizontal-sm">
            <ul class="am-avg-sm-2 ">
                <li>
                    <span class="am-head-portrait" style="display: inline-block">
                        <img src="{:avatar($info['id'], 200)}">
                    </span>
                    <div class="am-cf am-margin-left-xs" style="display: inline-block; color: white">
                        <php>$username= $info['wxnickname']!='' ? $info['wxnickname'] : $info['username']</php>
                        <span>{$username}</span>
                    </div>

                </li>
                <li class="am-text-right am-padding-top " style="height: 100%">
                    <a class="am-padding-vertical-xs am-padding-horizontal-sm" href="{:U('Sign/index')}">返回签到页面</a>
                </li>
            </ul>
        </header>

        <div class="am-tab am-margin-top-sm am-padding-bottom-sm">
            <ul class="am-avg-sm-3 am-text-center am-padding-xs" style="border-bottom:.1rem solid #f3e7e3">
                <li>时间</li>
                <li>积分</li>
                <li>事件</li>

            </ul>
            <volist name="sign_log" id="vo">
			<ul class="am-avg-sm-3 am-text-center am-padding-xs  am-margin-top-xs">
                <li>{$vo.sign_date|frienddate}</li>
                <li>{$vo.score}</li>
                <li>每日签到</li>
            </ul>         
            </volist>
            <!--<ul class="am-avg-sm-3 am-text-center am-padding-xs  am-margin-top-xs">
                <li>2015.10.22</li>
                <li>+0</li>
                <li>下午签到失败</li>
            </ul>-->
        </div>
    </div>
    <style>
        body {
            background: #f8f8f8;
        }

        header {
            min-height: 6rem;
            position: relative;
        }

        .am-tab {
            background: white;
        }

        a {
            border: .1rem solid white;
            border-radius: 0.5rem;
            color: white;
        }
    </style>
    <include file="public/foot" />
</body>
</html>